package com.zshan.clinic.database.dao;

import com.zshan.clinic.database.model.ChargeOrder;
import com.zshan.clinic.database.model.ChargeOrderExample;
import com.zshan.clinic.mybatis.SuperMapper;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ChargeOrderMapper extends SuperMapper {
    long countByExample(ChargeOrderExample example);

    int deleteByExample(ChargeOrderExample example);

    int deleteByPrimaryKey(Long orderId);

    int insert(ChargeOrder row);

    int insertSelective(ChargeOrder row);

    List<ChargeOrder> selectByExample(ChargeOrderExample example);

    ChargeOrder selectByPrimaryKey(Long orderId);

    int updateByExampleSelective(@Param("row") ChargeOrder row, @Param("example") ChargeOrderExample example);

    int updateByExample(@Param("row") ChargeOrder row, @Param("example") ChargeOrderExample example);

    int updateByPrimaryKeySelective(ChargeOrder row);

    int updateByPrimaryKey(ChargeOrder row);
}